<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Title</title>
</head>
<body>
<div id="Stats-output"></div>
<div id="map" style="width: 100%;height: 500px">

</div>
<!-- 引入js文件 -->
<script src="bundle.js"></script>
<script>
    var map = new free.FreeMap('map');

    var source = new free.OSMTileSource('osmSource');

    var osmLayer = new free.RasterTileLayer('osmLayer','osmSource');

    map.addSource(source);
    map.addLayer(osmLayer);
</script>
</body>
</html>
